package x10.event;

import java.io.Serializable;

/**
 * Abstract class defining minimum method support in sub-classes
 * X10Event subclasses are serializable 
 * @author Denny
 */
public abstract class X10Event implements Serializable {
    static final long serialVersionUID = 1L;

    public X10Event(){
    }

    public abstract void setSource(String source);

    public abstract String getSource();
    
    public abstract String toString();

    public abstract boolean equals(X10Event device);

    public abstract String getAddress();

    public abstract void setAddress(String address);
    
    public abstract long getInstantiatedMillis();

    public abstract void setInstantiatedMillis(long instantiatedMillis);
    
}
